package com.nunbey.lingxi.apis;

import com.nunbey.lingxi.module.mode.user.UserAccount;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface UserApi {
    /**
     * 用户注册
     * @param userAccount
     * @return
     */
    @POST("lingxi-api/userAccount/sign")
    public Call<ResponseBody> userSign(@Body UserAccount userAccount);

    /**
     * 用户注册
     * @param userAccount
     * @return
     */
    @POST("lingxi-api/userAccount/login")
    public Call<ResponseBody> userLogin(@Body UserAccount userAccount);

}
